package com.example.rx3demo.test;

import io.reactivex.rxjava3.core.Flowable;

/**
 * @Author: zhangQi
 * @Date: 2020-10-03 10:39
 * RxJava 3 features several base classes you can discover operators on:
 * io.reactivex.rxjava3.core.Flowable: 0..N flows,supporting Reactive-Streams and backpressure
 * io.reactivex.rxjava3.core.Observable: 0..N flows,no backpressure
 * io.reactivex.rxjava3.core.Single: a flow of exactly 1 item or an error
 * io.reactivex.rxjava3.core.Completable: a flow without items but only a completion or error signal
 * io.reactivex.rxjava3.core.Maybe: a flow with no items,exactly one item or an error
 */
public class HelloWorld {
    public static void main(String[] args) {
        Flowable.just("Hello World").subscribe(System.out::println);
    }
}
